<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.ViewSolicitanteTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="#{bundle.ViewSolicitanteLabel_solId}"/>
                    <h:outputText value="#{solicitanteController.selected.solId}" title="#{bundle.ViewSolicitanteTitle_solId}"/>
                    <h:outputText value="#{bundle.ViewSolicitanteLabel_solNombre}"/>
                    <h:outputText value="#{solicitanteController.selected.solNombre}" title="#{bundle.ViewSolicitanteTitle_solNombre}"/>
                    <h:outputText value="#{bundle.ViewSolicitanteLabel_solApellidos}"/>
                    <h:outputText value="#{solicitanteController.selected.solApellidos}" title="#{bundle.ViewSolicitanteTitle_solApellidos}"/>
                    <h:outputText value="#{bundle.ViewSolicitanteLabel_solDireccion}"/>
                    <h:outputText value="#{solicitanteController.selected.solDireccion}" title="#{bundle.ViewSolicitanteTitle_solDireccion}"/>
                    <h:outputText value="#{bundle.ViewSolicitanteLabel_solTelefono}"/>
                    <h:outputText value="#{solicitanteController.selected.solTelefono}" title="#{bundle.ViewSolicitanteTitle_solTelefono}"/>
                    <h:outputText value="#{bundle.ViewSolicitanteLabel_solCorreo}"/>
                    <h:outputText value="#{solicitanteController.selected.solCorreo}" title="#{bundle.ViewSolicitanteTitle_solCorreo}"/>
                    <h:outputText value="#{bundle.ViewSolicitanteLabel_solFechaRes}"/>
                    <h:outputText value="#{solicitanteController.selected.solFechaRes}" title="#{bundle.ViewSolicitanteTitle_solFechaRes}">
                        <f:convertDateTime pattern="MM/dd/yyyy" />
                    </h:outputText>
                    <h:outputText value="#{bundle.ViewSolicitanteLabel_solFoto}"/>
                    <h:outputText value="#{solicitanteController.selected.solFoto}" title="#{bundle.ViewSolicitanteTitle_solFoto}"/>
                    <h:outputText value="#{bundle.ViewSolicitanteLabel_solEstado}"/>
                    <h:outputText value="#{solicitanteController.selected.solEstado}" title="#{bundle.ViewSolicitanteTitle_solEstado}"/>
                    <h:outputText value="#{bundle.ViewSolicitanteLabel_solLogId}"/>
                    <h:outputText value="#{solicitanteController.selected.solLogId}" title="#{bundle.ViewSolicitanteTitle_solLogId}"/>
                    <h:outputText value="#{bundle.ViewSolicitanteLabel_solRolId}"/>
                    <h:outputText value="#{solicitanteController.selected.solRolId}" title="#{bundle.ViewSolicitanteTitle_solRolId}"/>
                </h:panelGrid>
                <br />
                <h:commandLink action="#{solicitanteController.destroyAndView}" value="#{bundle.ViewSolicitanteDestroyLink}"/>
                <br />
                <br />
                <h:commandLink action="Edit" value="#{bundle.ViewSolicitanteEditLink}"/>
                <br />
                <h:commandLink action="#{solicitanteController.prepareCreate}" value="#{bundle.ViewSolicitanteCreateLink}" />
                <br />
                <h:commandLink action="#{solicitanteController.prepareList}" value="#{bundle.ViewSolicitanteShowAllLink}"/>
                <br />
                <br />
                <h:commandLink value="#{bundle.ViewSolicitanteIndexLink}" action="/index" immediate="true" />

            </h:form>
        </ui:define>
    </ui:composition>

</html>
